package request

type JoinGroupParamsReq struct {
	GroupId int `json:"groupId" binding:"required" msg:"群id必须填写"`
	UserId  int `json:"userId" binding:"required" msg:"用户id必须填写"`
}

type CreateGroupReq struct {
	MemberIds []int `json:"memberIds"`
}

type GetGroupMessageReq struct {
	GroupId   int    `json:"groupId"`
	SessionId string `json:"sessionId"`
	PageInfo  `json:"pageInfo"`
}

type UpdateGroupInfoReq struct {
	GroupId     int    `json:"groupId"`
	Name        string `json:"name"`
	Avatar      string `json:"avatar"`
	Description string `json:"description"`
}
